package cn.demo.service;

import cn.demo.entity.Book;
import cn.demo.mapper.BookMapper;
import java.util.List;

public interface BookService {
        int  addBook(Book book);
        int  delBook(Integer id);
       Book  getBookById(Integer id) ;
       List<Book> getAllBook() ;
}
